package com.sokal.easycare.modules.kpoint.entity.activity;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.sokal.easycare.common.persistence.FileEntity;

/**
 * 体验店活动附件Entity
 * @author lihaipei
 * @version 2017-03-19
 */
public class KPointActivityFile extends FileEntity<KPointActivityFile> {
	
	private static final long serialVersionUID = 1L;
	private KPointActivity kPointActivity;		// 体验店活动
	
	public KPointActivityFile() {
		super();
	}

	public KPointActivityFile(String id){
		super(id);
	}

	@JsonIgnore
	@NotNull(message = "体验店活动不能为空")
	public KPointActivity getkPointActivity() {
		return kPointActivity;
	}

	public void setkPointActivity(KPointActivity kPointActivity) {
		this.kPointActivity = kPointActivity;
	}

}